package cn.qidd.keep.domain.document;

import cn.qidd.keep.domain.core.dict.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

@Data
@Document(collection = "order")
public class Order {
    @Id
    private String id;
    @ApiModelProperty("订单编号")
    private String orderNo;
    @ApiModelProperty("客户名称/会员名称")
    private String name;
    @ApiModelProperty("手机号码/会员手机号")
    private String phone;
    @ApiModelProperty("订单消费金额")
    private Double amount;
    @ApiModelProperty("支付方式")
    private PayType payType;
    @ApiModelProperty("支付通道")
    private PayChannel payChannel;
    @ApiModelProperty("是否使用会员")
    private WhetherStatus isMember;
    @ApiModelProperty("会员编号")
    private String memberNo;
    @ApiModelProperty("美发师用户名/工号")
    private String hairdresserUserName;
    @ApiModelProperty("美发师名")
    private String hairdresserName;
    @ApiModelProperty("部门CODE")
    private String deptCode;
    @ApiModelProperty("部门名称")
    private String deptName;
    @ApiModelProperty("订单创建时间")
    private Date createTime;

    private Date operatorTime;
    private String operatorName;
    private String operatorRealName;
}
